@charset "UTF-8";

.contain .purchase-menu {
    user-select: none;
}

.contain .purchase-menu ul li {
    width: 100%;
    height: 24px;
    line-height: 24px;
    padding: 2px 0;
    margin: 5px 0;
    cursor: pointer;
    text-align: center;
    font-size: 1.1em;
}

.contain .purchase-menu ul li:hover {
    background-color: #aaa;
    color: #fff;
}

.contain .purchase-menu ul .select {
    background-color: #555;
    color: #f7f7f7;
}

.contain .purchase-menu ul li:first-child {
    margin-top: 0;
}

.contain .purchase-menu ul li:last-child {
    margin-bottom: 0;
}

.contain .right-contain .model .title {
    width: 100%;
    margin-bottom: 20px;
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
}

.contain .hide {
    display: none;
}

.contain .right-contain .model .show-body .buttons .hideButton {
    display: none;
}

.contain .show {
    display: block;
}

.contain .right-contain .model .show-body .table-show {
    margin-bottom: 10px;
}

.contain .right-contain .model .show-body .buttons {
    text-align: right;
}

.contain .right-contain .model .show-body .buttons button {
    display: inline-block;
}

.contain .right-contain .model .show-body .buttons button:last-child {
    margin-right: 20px;
}

.contain .form-box {
    position: absolute;
    top: 100px;
    box-shadow: 0 0 5px #aaa;
    padding: 10px 20px;
}

.contain .purchasePlan,
.contain .purchase,
.contain .contractDetail,
.contain .purchasePlanDetail,
.contain .choseContract,
.contain .chosePurchase,
.contain .showContractDetails {
    width: 165px;
    left: calc(50% - 82px);
}


/* 添加计划表的弹框 */
#addPurchasePlan,
#addPurchase,
.contain .contractZhu,
.contain .addPurchasePlanDetailAlert,
.contain .addPurchaseDetailAlert,
.contain .purchasePlanZhu {
    width: 700px;
    left: calc(50% - 350px);
}

.chooseContract-table {
    margin: 15px 0;
}

/* animation */
.contain .purchasePlan-slide-down {
    animation: 1s COMPANY_SLIDE_DOWN ease-out;
}

.contain .purchase-slide-down {
    animation: 1s PRODUCT_SLIDE_DOWN ease-out;
}

.get {
    padding-left: 4px;
    font-size: 12px;
    color: #555;
}

.contain .right-contain .model .show-body .table-show tr:hover td {
    background-color: #555;
    color: #f7f7f7;
}

.contain .right-contain .model .show-body .table-show .select-tr td {
    background-color: #333;
    color: #f7f7f7;
}

.contain .model table tr:hover td {
    background-color: #555;
    color: #f7f7f7;
}

.contain .model table .select-tr td {
    background-color: #333;
    color: #f7f7f7;
}

/* 添加计划表，选择合同按钮 */
.chooseContract button,
.choosePurchasePlan button,
.chooseContract span,
.choosePurchasePlan span {
    display: inline;
    margin-right: 10px;
}

.model {
    width: 400px;
}

.model.purchasePlanZhuChange,
.model.purchaseZhuChange,
.model.purchaseUserZhu,
.model.purchaseUserDetail {
    width: 200px;
    left: 50%;
    transform: translateX(-50%);
}


.contract-submit,
.contract-cancel,
.contract-search,
.PurchasePlan-submit,
.PurchasePlan-cancel,
.chooseContractDetail,
.chooseContractDetailCancel {
    display: inline-block;
}

.ci {
    margin-top: 15px;
}


@keyframes COMPANY_SLIDE_DOWN {
    from {
        top: -400px;
        opacity: 0;
    }

    to {
        top: 100px;
        opacity: 1;
    }
}

@keyframes PRODUCT_SLIDE_DOWN {
    from {
        top: -500px;
        opacity: 0;
    }

    to {
        top: 100px;
        opacity: 1;
    }
}

@keyframes STORAGE_SLIDE_DOWN {
    from {
        top: -200px;
        opacity: 0;
    }

    to {
        top: 100px;
        opacity: 1;
    }
}

@keyframes CUSTOMER_SLIDE_DOWN {
    from {
        top: -350px;
        opacity: 0;
    }

    to {
        top: 100px;
        opacity: 1;
    }
}

@keyframes SUPPLIER_SLIDE_DOWN {
    from {
        top: -200px;
        opacity: 0;
    }

    to {
        top: 100px;
        opacity: 1;
    }
}